#pragma once

#include <string>

class Timestamp
{
public:
    Timestamp();
    explicit Timestamp(int64_t micSecondsSinceEpoch);
    // 获取当前时间戳
    static Timestamp now();
    // 时间格式化输出
    std::string toString() const;

private:
    int64_t micSecondsSinceEpoch_;
};